package com.example.demo.day0228;

public interface Food {
    enum Appetizer implements Food{//在接口中定义四个接口的实现类
        SALAD,SOUP,SPRING_ROOLS;
    }
    enum MainCourse implements Food{
        LASAGNE,BURRITO,PAD_THAI,
        LENTILS,HOMMOUS,VINDALOO;
    }
    enum Dessert implements Food{
        TIRAMISU,GELATO,BLACK_FOREST_CAKE,
        FRUIT,CREME_CARAMEL;
    }
    enum Coffee implements Food{
        BLACK_COFFEE,DECAF_COFFEE,ESPRESSO,
        LATTE,CAPPUCNIIO,TEA,HERB_TEA
    }
}
